package com.dengyafei.bean;

import java.util.Date;

/**
 * @author 邓亚非
 */
public class AppointmentEntity {
    private Integer aid;

    private Integer mid;

    private Integer hid;

    private Integer gid;

    private String name;

    private String company;

    private Date time;

    private String localtion;

    private String gname;

    private String finish;

    private String phone;

    private String email;

    public AppointmentEntity(Integer aid, Integer mid, Integer hid, Integer gid, String name, String company, Date time, String localtion, String gname, String finish, String phone, String email) {
        this.aid = aid;
        this.mid = mid;
        this.hid = hid;
        this.gid = gid;
        this.name = name;
        this.company = company;
        this.time = time;
        this.localtion = localtion;
        this.gname = gname;
        this.finish = finish;
        this.phone = phone;
        this.email = email;
    }

    public AppointmentEntity() {
        super();
    }

    public Integer getAid() {
        return aid;
    }

    public void setAid(Integer aid) {
        this.aid = aid;
    }

    public Integer getMid() {
        return mid;
    }

    public void setMid(Integer mid) {
        this.mid = mid;
    }

    public Integer getHid() {
        return hid;
    }

    public void setHid(Integer hid) {
        this.hid = hid;
    }

    public Integer getGid() {
        return gid;
    }

    public void setGid(Integer gid) {
        this.gid = gid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public String getCompany() {
        return company;
    }

    public void setCompany(String company) {
        this.company = company == null ? null : company.trim();
    }

    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }

    public String getLocaltion() {
        return localtion;
    }

    public void setLocaltion(String localtion) {
        this.localtion = localtion == null ? null : localtion.trim();
    }

    public String getGname() {
        return gname;
    }

    public void setGname(String gname) {
        this.gname = gname == null ? null : gname.trim();
    }

    public String getFinish() {
        return finish;
    }

    public void setFinish(String finish) {
        this.finish = finish == null ? null : finish.trim();
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone == null ? null : phone.trim();
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email == null ? null : email.trim();
    }
}